<template>
  <div id="app">
    <router-view />
    <theme-picker />
  </div>
</template>

<script>
import ThemePicker from "@/components/ThemePicker";

export default {
  name: "App",
  components: { ThemePicker },
  metaInfo() {
    return {
      title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
      titleTemplate: (title) => {
        return title
          ? `${title} - ${process.env.VUE_APP_TITLE}`
          : process.env.VUE_APP_TITLE;
      },
    };
  },
};
</script>
<style scoped>
#app {
  height: 100%;
}
#app .theme-picker {
  display: none;
}
</style>
<style>
.width_100 {
  width: 100% !important;
}
.dis {
  display: flex;
}
.aic {
  align-items: center;
}
.jcc{
  justify-content: center;
}
.flex_1 {
  flex: 1;
}
.width_90 {
  width: 90%;
  margin: 0 auto;
}
.tac {
  text-align: center !important;
}
.margin_left_20 {
  margin-left: 20px;
}
.margin_top_20 {
  margin-top: 20px;
}
.padding_bottom_20 {
  padding-bottom: 20px;
}
.fs_14 {
  font-size: 14px;
}
.el-col-5 {
  max-width: 20%;
  flex: 0 0 20%;
}
.showBtn {
  font-size: 12px !important;
}
</style>
